package com.parent.elasticsearch.old.es;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @Author yan
 * @Date 2023/7/19 0019 15:52
 * @Description
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public  class Shards implements Serializable {
    private static final long serialVersionUID = -2327697624946817765L;
    @JsonProperty(value = "total", required = true)
    private Integer total;
    @JsonProperty(value = "successful", required = true)
    private Integer successful;
    @JsonProperty(value = "skipped", required = true)
    private Integer skipped;
    @JsonProperty(value = "failed", required = true)
    private Integer failed;
}